package com.mobile.renter.models {
   [Bindable]
   public class FormItem {
      private var _name:String;
      private var _label:String;
      private var _propertyName:String;
      private var _entity:*;
      private var _value:String;
      
      public function FormItem(label:String, propertyName:String, entity:*, value:String) {
         _label = label;
         _propertyName = propertyName;
         _entity = entity;
         _value = value;
      }
      
      public function get label():String {
         return _label;
      }

      public function get propertyName():String {
         return _propertyName;
      }

      public function get entity():* {
         return _entity;
      }
      
      public function get value():String {
         return _value;
      }
      
      public function set value(value:String):void {
         _value = value;
      }
   }
}